﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Xejen.Database.Entities;
using Xejen.Database.Exceptions;

namespace Xejen.Database
{
    /// <summary>
    /// 表示仓储基类
    /// </summary>
    public abstract class RepositoryBase : IRepository
    {
        /// <inheritdoc cref="RepositoryBase"/>
        protected RepositoryBase()
        {

        }

        /// <inheritdoc/>
        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        /// <summary>
        /// 释放资源
        /// </summary>
        /// <param name="disposing"></param>
        protected virtual void Dispose(bool disposing)
        {

        }
    }
}
